/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jmooc.dao;

import com.jmooc.entity.Course;
import com.jmooc.entity.CourseModule;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Group
 */
@Local
public interface CourseModuleDao {

    List<CourseModule> getAllByCourse(Course course);

    void create(CourseModule courseModule);
    
    CourseModule getById(Long id);
}
